package org.alex.samples.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "exam_user_subject")
public class UserAndSubject implements Serializable {
	
	private static final long serialVersionUID = -115784604934369833L;

	
	@Id
	@Column(name = "sub_id")
	private Integer subId;
	
	@Id
	@Column(name = "user_id")
	private String userId;


	public Integer getSubId() {
		return subId;
	}

	public void setSubId(Integer subId) {
		this.subId = subId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	
}
